/*
 * @Author: vn53el9 vn53el9@email.wal.mart.com
 * @Date: 2022-10-20 10:09:48
 * @LastEditors: Even Liu
 * @LastEditTime: 2022-11-03 16:51:46
 * @FilePath: \ias_ui\src\views\coi\commonJs\goodsInfo.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export const baseInfo = [
  {
    label: 'UPC(不含检验码)',
    value: 'sku',
    required: false,
    type: 'input',
    disabled: true,
    icon: false
  },
  {
    label: '商品名称',
    value: 'skuName',
    required: true,
    type: 'input',
    disabled: false,
    maxlength: 45,
    event: 'skuNameChange',
    icon: true,
    iconTemplate: 'tradeName'
  },
  {
    label: '产地',
    value: 'mdsDesc',
    required: false,
    type: 'input',
    disabled: true
  },
  {
    label: '毛重',
    value: 'skuWeight',
    required: true,
    type: 'input',
    disabled: false,
    suffix: 'kg',
    icon: true,
    event: 'skuWeightChange',
    iconTemplate: 'skuWeight'
  },
  {
    label: '高度',
    value: 'skuHeight',
    required: true,
    type: 'input',
    disabled: false,
    suffix: 'mm',
    icon: true,
    iconTemplate: 'specifications',
    event: 'specifications'
  },
  {
    label: '宽度',
    value: 'skuWidth',
    required: true,
    type: 'input',
    disabled: false,
    suffix: 'mm',
    icon: true,
    iconTemplate: 'specifications',
    event: 'specifications'
  },
  {
    label: '深度',
    value: 'skuLength',
    required: true,
    type: 'input',
    disabled: false,
    suffix: 'mm',
    icon: true,
    iconTemplate: 'specifications',
    event: 'specifications'
  }
]
// CBEC一键代发
export const baseInfo_CBEC = [
  {
    label: '部门',
    value: 'deptNbr',
    required: true,
    type: 'input',
    disabled: false,
    icon: false,
    maxlength: 2,
    event: 'deptNbrChange'
  },
  {
    label: 'Fineline',
    value: 'finelineNbr',
    required: true,
    type: 'input',
    disabled: true,
    icon: false
  },
  {
    label: 'UPC(不含检验码)',
    value: 'sku',
    required: true,
    type: 'input',
    disabled: false,
    icon: false
  },
  {
    label: '商品名称',
    value: 'skuName',
    required: true,
    type: 'input',
    disabled: false,
    maxlength: 45,
    event: 'skuNameChange',
    icon: true,
    iconTemplate: 'tradeName'
  },
  {
    label: '产地',
    value: 'mdsDesc',
    required: false,
    type: 'input',
    disabled: false,
    icon: false
  },
  {
    label: '毛重',
    value: 'skuWeight',
    required: true,
    type: 'input',
    disabled: false,
    suffix: 'kg',
    icon: true,
    event: 'skuWeightChange',
    iconTemplate: 'skuWeight'
  },
  {
    label: '高度',
    value: 'skuHeight',
    required: true,
    type: 'input',
    disabled: false,
    suffix: 'mm',
    icon: true,
    iconTemplate: 'specifications',
    event: 'specifications'
  },
  {
    label: '宽度',
    value: 'skuWidth',
    required: true,
    type: 'input',
    disabled: false,
    suffix: 'mm',
    icon: true,
    iconTemplate: 'specifications',
    event: 'specifications'
  },
  {
    label: '深度',
    value: 'skuLength',
    required: true,
    type: 'input',
    disabled: false,
    suffix: 'mm',
    icon: true,
    iconTemplate: 'specifications',
    event: 'specifications'
  }
]
